package cn.dada.dadarecipes.mall.shop.service.impl;

import cn.dada.dadarecipes.mall.product.mapper.ProductMapper;
import cn.dada.dadarecipes.mall.product.pojo.dto.ProductQuery;
import cn.dada.dadarecipes.mall.product.pojo.vo.ProductVO;
import cn.dada.dadarecipes.mall.shop.mapper.ShopMapper;
import cn.dada.dadarecipes.mall.shop.pojo.entity.Shop;
import cn.dada.dadarecipes.mall.shop.pojo.vo.ShopVO;
import cn.dada.dadarecipes.mall.shop.service.ShopService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Slf4j
@Service
public class ShopServiceImpl implements ShopService {

    @Autowired
    ShopMapper shopMapper;

    @Override
    public ShopVO selectShop(Long shopId) {
        log.debug("查询商铺业务：shopId={}",shopId);
        ShopVO shopVO = shopMapper.selectShop(shopId);
        return shopVO;
    }
}
